package only.level5.railgun.ysartifactsimulation.Bean;

public class MainStatRollCalc {
    public static void flatATK(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setFlatATK(possibleFinalForm.getFlatATK() + value);
    }

    public static void percentHP(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setPercentHP(possibleFinalForm.getPercentHP() + value);
    }

    public static void percentATK(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setPercentATK(possibleFinalForm.getPercentATK() + value);
    }

    public static void percentDEF(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setPercentDEF(possibleFinalForm.getPercentDEF() + value);
    }

    public static void critRate(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setCritRate(possibleFinalForm.getCritRate() + value);
    }

    public static void critDamage(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setCritDamage(possibleFinalForm.getCritDamage() + value);
    }

    public static void elementalMastery(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setElementalMastery(possibleFinalForm.getElementalMastery() + (int)value);
    }

    public static void energyRecharge(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setEnergyRecharge(possibleFinalForm.getEnergyRecharge() + value);
    }

    public static void flatHP(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setFlatHP(possibleFinalForm.getFlatHP() + value);
    }

    public static void physicalDamage(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setPhysicalDamage(possibleFinalForm.getPhysicalDamage() + value);
    }

    public static void hydroDamage(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setHydroDamage(possibleFinalForm.getHydroDamage() + value);
    }

    public static void pyroDamage(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setPyroDamage(possibleFinalForm.getPyroDamage() + value);
    }

    public static void cryoDamage(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setCryoDamage(possibleFinalForm.getCryoDamage() + value);
    }

    public static void geoDamage(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setGeoDamage(possibleFinalForm.getGeoDamage() + value);
    }

    public static void electroDamage(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setElectroDamage(possibleFinalForm.getElectroDamage() + value);
    }

    public static void anemoDamage(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setAnemoDamage(possibleFinalForm.getAnemoDamage() + value);
    }

    public static void dendroDamage(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setDendroDamage(possibleFinalForm.getDendroDamage() + value);
    }

    public static void healing(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setHealing(possibleFinalForm.getHealing() + value);
    }

    public static void flatDef(PossibleFinalForm possibleFinalForm, double value) {
        possibleFinalForm.setFlatDEF(possibleFinalForm.getFlatHP() + value);
    }
}